def func(a,b):
    try:
        return a/b
    except ZeroDivisionError as e:
        return e
print(func(3,2))
print(func(5,0))